package com.omega.exam.service;


import com.omega.exam.entity.GradingResult;
import com.omega.exam.entity.Question;
import com.omega.exam.vo.AiGenerateRequestVo;
import com.omega.exam.vo.QuestionImportVo;

import java.util.List;

/**
 * Kimi AI服务接口
 * 用于调用Kimi API生成题目
 */
public interface KimiAiService {
    String  buildprompt(AiGenerateRequestVo ai );

    List<QuestionImportVo> aiGenerateQuestions(AiGenerateRequestVo request) throws InterruptedException;

    GradingResult gradingTextQuestion(Question question, String userAnswer, int intValue) throws InterruptedException;

    String buildSummary(int totalScore, int intValue, Integer questionCount, int correctNumber) throws InterruptedException;
}